package cn.wicking.mapper;

import cn.wicking.entity.User;

import java.util.HashMap;
import java.util.List;

public interface UserMapper {

    List<User> getUserMessage();

    //添加一个用户
    int addUser(HashMap<String,Object> map);

    //根据id删除用户
    int deleteUser(int id);
}
